//
//  BQYLRightTableViewCell.h
//  BeeQuick
//
//  Created by 杨雷 on 2016/11/19.
//  Copyright © 2016年 six_group. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "BQYLDetailsModel.h"
#import "BQHomeGoodModel.h"
#import "BQYLAddView.h"
@class BQYLRightTableViewCell;


@protocol BQYLRightTableViewCellDelegate <NSObject>

@optional

//- (void)rightCell:(BQYLRightTableViewCell *)rightCell withAddModel:(BQYLDetailsModel *)model withStartPoint:(CGPoint)startP;
//
//- (void)rightCell:(BQYLRightTableViewCell *)rightCell withMinusModel:(BQYLDetailsModel *)model;
//修改



#pragma mark - 这是什么方法?
- (void)rightCell:(BQYLRightTableViewCell *)rightCell withAddModel:(BQHomeGoodModel *)model withStartPoint:(CGPoint)startP;

- (void)rightCell:(BQYLRightTableViewCell *)rightCell withMinusModel:(BQHomeGoodModel *)model;

@end



@interface BQYLRightTableViewCell : UITableViewCell

//图片
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
//买一赠送
@property (weak, nonatomic) IBOutlet UIImageView *buyOneView;
//名称
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
//规格 400g/盒
@property (weak, nonatomic) IBOutlet UILabel *specificsLabel;
//现价
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;
//市场价
@property (weak, nonatomic) IBOutlet UILabel *market_priceLabel;
//买一赠一 隐藏属性
@property(nonatomic,assign)BOOL had_pm;

//@property(nonatomic,strong)BQYLDetailsModel *model;
//加减号的View
@property(nonatomic,weak)BQYLAddView *minusAddView;
//代理
@property(nonatomic,weak)id <BQYLRightTableViewCellDelegate> delegate;

@property(strong,nonatomic)BQHomeGoodModel *model;;

@end
